package com.sz.biz.trade.ord.service;

import com.sz.biz.trade.ord.dto.NormalTrdOrderDeliverySaveDto;
import com.sz.biz.trade.ord.dto.PathPDFDto;
import com.sz.biz.trade.ord.dto.TrdOrderDeliveryInfoDto;
import com.sz.biz.trade.ord.dto.TrdOrderDeliverySaveDto;
import com.sz.common.core.system.entity.SysFile;

/**
 * Function: 贸易订单收货确认服务 <br>
 * Author: jifeixing <br>
 * Date: 2017-07-15 14:09:00
 */

public interface TrdOrderDeliveryService {
    /**
     * 收货确认单
     * @param orderDeliverySaveDto
     */
    void save(TrdOrderDeliverySaveDto orderDeliverySaveDto);

    /**
     * 非SUNRUN订单收货确认单
     * @param normalTrdOrderDeliverySaveDto
     */
    void saveNormal(NormalTrdOrderDeliverySaveDto normalTrdOrderDeliverySaveDto);

    /**
     * 根据的订单号获取收货确认单信息
     * @param orderNo
     * @return
     */
    TrdOrderDeliveryInfoDto findByOrderNo(String orderNo);
    /**
     * 根据订单号获取收货确认单信息后生成PDF文件
     * @param orderNo
     * @return
     */
    SysFile exportPDF(String orderNo);
    /**
     * 订单确认单PDF导出路径
     * @param orderNo
     * @return
     */
    PathPDFDto findPathByOrderNo(String orderNo);
}
